package com.jiazhong.mingxing.project.bookstore.front.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiazhong.mingxing.project.bookstore.commons.bean.Book;
import com.jiazhong.mingxing.project.bookstore.commons.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface BookService extends IService<Book> {

    JsonResult findLowerPriceBook(int size);

    // 获取到该分类下的所有图书
    JsonResult findMoreBooksByCategoryId(String categoryId);

    // 根据书名获取到图书信息(模糊查询)
    JsonResult findMoreBooksByBookName(String bookName);

}
